#ifndef __CHESS_H__
#define __CHESS_H__

#include <iostream>

using namespace std;

class Chess
{
public:
	Chess(const string& color, int x, int y) :color(color), x(x), y(y) {}
	int getX() const
	{
		return x;
	}
	int getY() const
	{
		return y;
	}
	string getColor() const
	{
		return color;
	}
	virtual void show() const = 0;
	virtual ~Chess() {};
protected:
	int x;
	int y;
	string color;
};

#endif // ! __CHESS_H__
